package org.dei.perla.sys.device.fpc.dspic.datastructures;

import org.dei.perla.utils.dataconverter.annotations.FixedLengthArray;
import org.dei.perla.utils.dataconverter.annotations.SimpleField;
import org.dei.perla.utils.dataconverter.annotations.StructInfo;
import org.dei.perla.utils.dataconverter.enums.Endianness;
import org.dei.perla.utils.dataconverter.enums.Sign;

@StructInfo(endianness = Endianness.LITTLE_ENDIAN, totalStructSize = DSPicDefines.DSPIC_EVENT_DATA_SAMPLES_ON_CONTINUOUS_SAMPLING_SIZE)
public class DSPicOnContinuousSamplingData {

	@FixedLengthArray(length = DSPicDefines.DSPIC_EVENT_DATA_SAMPLES_ON_CONTINUOUS_SAMPLING_SIZE)
	@SimpleField(size = 1, sign = Sign.SIGNED)
	private Byte[] eventDataSamples;

	public DSPicOnContinuousSamplingData() {}
	
	public Byte[] getEventDataSamples() {
		return eventDataSamples;
	}

	public void setEventDataSamples(Byte[] eventDataSamples) {
		this.eventDataSamples = eventDataSamples;
	}
}
